{literal}
    <script type="text/javascript">
    $().ready(function() {
        //mascara
        $("#cepEnd").mask("99999-999",{placeholder:"_"});
    });
    </script>
{/literal}
    
{form_input name="cepEnd" label="Cep" title="ex: 64000-000" required=true  extra="onblur=\"getEndereco();\"" value="{$cepEnd|default:''}"}
{form_input name="numeroEnd" label="Número" title="ex: 1000" required=true extra="maxlength=\"7\"" value="{$numeroEnd|default:''}"}
{form_input name="complementoEnd" label="Complemento" title="ex: Bloco F, Ap. 125" value="{$complementoEnd|default:''}"}
{form_input name="logradouroEnd" label="Logradouro" title="ex: Rua José do Santos" required=true value="{$logradouroEnd|default:''}"}
{form_input name="bairroEnd" label="Bairro" title="ex: Monte Castelo" required=true alue="{$bairroEnd|default:''}"}
{form_input name="cidadeEnd" label="Cidade" title="ex: Teresina" required=true extra="maxlength=\"0\"" value="{$cidadeEnd|default:''}"}
{form_input name="estadoEnd" label="Estado" title="ex: PI" required=true extra="maxlength=\"0\"" value="{$estadoEnd|default:''}"}